package com.dxt.springmvcdemo.mapper;

import com.dxt.springmvcdemo.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {

    Employee getEmployeeById(Long id);

    List<Employee> getEmployeeList();

    void insertEmployee(Employee employee);

    void deleteEmployeeById(Long id);

    void updateEmployee(Employee employee);
}
